import axios from 'axios'

// axios.defaults.baseURL = 'http://127.0.0.1:8002'

export const findCategroy = (params) =>
  axios.get('/categroy/findCategroy', { params })

export const addCategory = (data) =>
  axios.post('/categroy/addCategroy', data)

export const findAllGategroy = () =>
  axios.get("/categroy/findAllCategroy");

